package com.demo.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 司机对象 sys_driver
 * 
 * @author 1111
 * @date 2023-12-02
 */
public class SysDriver implements Serializable {


    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 司机姓名 */
    private String name;

    /** 手机号码 */
    private String phoneNumber;

    /** 车牌号 */
    private String carNumber;

    /** 驾照号 */
    private String licenseNumber;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setCarNumber(String carNumber) 
    {
        this.carNumber = carNumber;
    }

    public String getCarNumber() 
    {
        return carNumber;
    }
    public void setLicenseNumber(String licenseNumber) 
    {
        this.licenseNumber = licenseNumber;
    }

    public String getLicenseNumber() 
    {
        return licenseNumber;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("carNumber", getCarNumber())
            .append("licenseNumber", getLicenseNumber())
            .toString();
    }
}
